public class Test2 {
    public static void main(String[] args) throws CloneNotSupportedException{
        User u1 = new User("1","zhangsan","wo666",new double[]{99.0,99.5});
        User u2 = (User) u1.clone();
        System.out.println(u2.getId());
        System.out.println(u2.getUsername());
        System.out.println(u2.getPassword());
        System.out.println(u2.getScores());
    }
}
